package com.ruoyi.ring.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * banner对象 az_ring_banner
 * 
 * @author liuwp
 * @date 2025-07-29
 */
@Data
public class RingBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 主图 */
    @Excel(name = "主图")
    private String imagePath;

    /** 排序 */
    @Excel(name = "排序")
    private Integer orderBy;

    /** 类型 */
    @Excel(name = "类型", dictType = "az_ring_banner_type")
    private Integer bannerType;

    /** 状态 */
    @Excel(name = "状态", dictType = "sys_normal_disable")
    private String status;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("content", getContent())
            .append("imagePath", getImagePath())
            .append("orderBy", getOrderBy())
            .append("bannerType", getBannerType())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("status", getStatus())
            .toString();
    }
}
